package com.pethospital.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("pet")
public class Pet implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userId;
    private String name;
    private String type;
    private String breed;
    private Integer gender;
    private LocalDate birthDate;
    private BigDecimal weight;
    private String photo;
    private Integer isSterilized;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 